home *** CD-ROM | disk | FTP | other *** search
/ Multimedia Selection / Multimedia Selection Volume One - CD-ROM / MULTIMEDIA SELECTION____________.ISO / windows / ed20_win / edcmds.h_ / edcmds.h
Encoding:
C/C++ Source or Header  |  1993-07-21  |  24.1 KB  |  501 lines

  1.  
  2. /****************************************************************
  3. *                                                               *
  4. *****************************************************************
  5.  
  6.         EDCMDS.H   -  ED Keyboard Command definitions.
  7.  
  8.         Copyright(c) Soft As It Gets P/L  1984 - 1993
  9.  
  10.         Last change:  NF   21 Jul 93   11:53 am
  11. */
  12.  
  13.  
  14. /*   This file defines all of the ED commands which can be assigned to
  15.  *   to the Keyboard.  It also provides the basis of the text for the
  16.  *   Quick Reference Guide.  The C Comment beside each #define K_xx is the
  17.  *   guide text for that command.  Any line whose comment starts with a #
  18.  *   is not included in the Quick reference.   Lines with Comments starting
  19.  *   with a $ appear as Subheadings in the guide.  The Quick Reference Guide
  20.  *   is automatically produced when necessary, when the K_QREF command is
  21.  *   executed.
  22.  */
  23.  
  24. #ifndef ED_CINTR
  25. #define K_BOOK_MARKS
  26. #define K_MOUSE_DEFS
  27. #define K_PRT_DEFS
  28. #endif
  29.  
  30. #ifndef PRG_ONLY    /* need to save memory in fext_prg.c */
  31.  
  32. #define K_CR        13          /*# ascii value for CR   */
  33.  
  34. #define K_SM_SEPARATOR 299      /*# sub menu seperator bar */
  35.  
  36.         /*$  Help and Menu commands */
  37. #define K_CMD_BASE   300        /*# 1st cmd value       */
  38. #define K_M_HEAD     300       /*# used in menu struct to indicate a heading */
  39. #define K_MENU       301        /* Main menu            */
  40. #define K_HELP       302        /* Display help index   */
  41. #define K_HELP_CTXT  303        /* Context sensitive help */
  42. #define K_HELP_SDK   304        /* Windows SDK help     */
  43. #define K_HELP_SP2   305        /*# spare               */
  44. #define K_QREF       306        /* Quick Reference guide */
  45. #define K_KEY_HELP   307        /* Key specific help    */
  46. #define K_ED_C_HELP  308        /* ED C function help   */
  47. #define K_ED_C_QREF  309        /* ED C quick reference */
  48. #define K_CMD_MODE   310        /*# VI command mode       */
  49. #define K_ABOUT      311        /* About ED              */
  50.  
  51.  
  52.         /*$  File commands */
  53. #define K_NEW_FILE   312        /* Open a New file     */
  54. #define K_EDIT       313        /* Open file for Editing */
  55. #define K_VIEW       314        /* Open file for Viewing */
  56. #define K_VIEW_TGL   315        /* Toggle between View/Edit */
  57. #define K_READ       316        /* Read file into text   */
  58. #define K_TAG        317        /* Locate function/procedure */
  59. #define K_INCLUDE    318        /* Load include file    */
  60. #define K_HUNT       319        /* Hunt directories for file(s) */
  61. #define K_HUNT_SUBDIR 320       /* Hunt subdirectories off/on */
  62. #define K_CUR_FNM    321        /* Insert current filename */
  63. #define K_DSP_STATS  322        /* Display status information  */
  64.  
  65. #define K_SV_CONT    323        /* Save file             */
  66. #define K_SV_END     324        /* Save file and close   */
  67. #define K_SV_AS      325        /* Save file as...       */
  68. #define K_SV_ALL     326        /* Save all edited files */
  69. #define K_CLOSE_FILE 327        /* Close file or buffer  */
  70. #define K_EXIT       328        /* Exit from ED          */
  71. #define K_SV_EXIT    329        /* Save edited files and exit */
  72. #define K_SV_SP1     330        /*# Spare                */
  73.  
  74.  
  75. #ifdef K_PROJ_INFO
  76.         /*#$ Project commands */
  77. #define K_PROJ_SEL   331        /*# Project select          */
  78. #define K_PROJ_DIRS  332        /*# Project directories     */
  79. #define K_PROJ_EXTS  333        /*# Project file extensions */
  80. #define K_PROJ_SP1   334        /*# Spare                  */
  81. #define K_PROJ_SP2   335        /*# Spare                  */      
  82. #endif
  83.  
  84.         /*$ Window commands */
  85. #define K_NEW_WIN    336        /* Create new window     */
  86. #define K_VERT_WIN   337        /*# Create vertical window */
  87. #define K_HORZ_WIN   338        /*# Create horizontal window */
  88. #define K_CLOSE_WIN  339        /* Close current window  */
  89. #define K_CLOSEALL_WIN 340      /* Close all windows     */
  90. #define K_LIST_WIN   341        /* List windows & buffers */
  91. #define K_NXT_WIN    342        /* Change to next window     */
  92. #define K_PRV_WIN    343        /* Change to previous window */
  93. #define K_ZOOM_WIN   344        /* Zoom window in/out    */
  94. #define K_SIZE_WIN   345        /* Resize window         */
  95. #define K_MOVE_WIN   346        /* Move window           */
  96. #define K_HTILE_WIN  347        /* Tile windows horizontally */
  97. #define K_VTILE_WIN  348        /* Tile windows vertically */
  98. #define K_CASCADE_WIN 349       /* Cascade windows       */
  99. #define K_ARRANGE_WIN 350       /* Arrange windows icons */
  100. #define K_SEL_BUF    351        /* Select a buffer       */
  101. #define K_WIN_SP1    352        /*# Spare                */
  102. #define K_WIN_SP2    353        /*# Spare                */
  103.  
  104.         /*$ Window/Buffer commands */
  105. #define K_NXT_BUF    354        /* Change to next buffer     */
  106. #define K_PRV_BUF    355        /* Change to previous buffer */
  107. #define K_LIST_BUF   356        /* Attach buffer to window   */
  108. #define K_WBUF_SP1   357        /*#spare                 */
  109. #define K_WBUF_SP2   358        /*#spare                 */
  110.  
  111.         /*$ Buffer commands */
  112. #define K_EDIT_BUF   359        /* Edit buffer              */
  113. #define K_VIEW_BUF   360        /*# View buffer             */
  114. #define K_GET_BUF    361        /* Get buffer               */
  115. #define K_BUF_WD_ADD 362        /* Add word to buffer       */
  116. #define K_KILL_BUF   363        /* Kill buffer              */
  117. #define K_SHOW_BUF   364        /*# List all buffers         */
  118. #define K_BUF_SP1    365        /*#spare                    */
  119. #define K_BUF_SP2    366        /*#spare                    */
  120.  
  121.  
  122. #ifdef K_BOOK_MARKS
  123.         /*$ Book Mark commands  */
  124.     /* note: these are in the same order as marker defs */
  125. #define K_SET_MK1    367        /* Set marker 1. Block start */
  126. #define K_SET_MK2    368        /* Set marker 2. Block end   */
  127. #define K_SET_MK3    369        /* Set marker 3         */
  128. #define K_SET_MK4    370        /* Set marker 4         */
  129. #define K_SET_MK5    371        /* Set marker 5         */
  130. #define K_SET_MK6    372        /* Set marker 6         */
  131. #define K_SET_MK7    373        /* Set marker 7         */
  132. #define K_SET_MK8    374        /* Set marker 8         */
  133. #define K_SET_SP1    375        /*# Spare               */
  134.  
  135. #define K_JMP_BEG    376        /* Jump to Start of file */
  136. #define K_JMP_END    377        /* Jump to End of file  */
  137. #define K_JMP_LINE   378        /* Jump to Line number  */
  138. #define K_JMP_ORIGLINE 379      /* Jump to Original Line number */
  139.     /* note: these are in the same order as marker defs */
  140. #define K_JMP_MK1    380        /* Jump to Mark 1       */
  141. #define K_JMP_MK2    381        /* Jump to Mark 2       */
  142. #define K_JMP_MK3    382        /* Jump to Mark 3       */
  143. #define K_JMP_MK4    383        /* Jump to Mark 4       */
  144. #define K_JMP_MK5    384        /* Jump to Mark 5       */
  145. #define K_JMP_MK6    385        /* Jump to Mark 6       */
  146. #define K_JMP_MK7    386        /* Jump to Mark 7       */
  147. #define K_JMP_MK8    387        /* Jump to Mark 8       */
  148. #define K_JMP_MKC    388        /* Jump to Last change Mark */
  149. #define K_JUMP       389        /* Jump to selected Mark */
  150. #define K_JMP_SP1    390        /*# Spare                */
  151. #endif
  152.  
  153.  
  154. #ifdef K_BLK_DEFS
  155.         /*$ Block commands */
  156.     /* note: order of Copy, Move, Delete and Put is important */
  157. #define K_BLK_COPY   391         /* Copy marked block    */
  158. #define K_BLK_MOVE   392         /* Move marked block    */
  159. #define K_BLK_DELETE 393         /* Delete marked block  */
  160.  
  161. #define K_BLK_SCOPY  394         /* Copy block to scrap  */
  162. #define K_BLK_SCUT   395         /* Cut block to scrap   */
  163. #define K_BLK_PASTE  396         /* Paste scrap into text */
  164. #define K_BLK_SHOW   397         /*#Display the scrap     */
  165.  
  166. #define K_BLK_WRITE  398         /* Write marked block    */
  167. #define K_BLK_PUT    399         /* Put block into buffer */
  168. #define K_BLK_APPEND 400         /* Append block to buffer */
  169. #define K_BLK_FILL   401         /* Fill marked block with char */
  170. #define K_BLK_MISC   402         /* Misc. Block commands  */
  171.  
  172. #define K_BLK_LEFT   403         /* Shift block left     */
  173. #define K_BLK_RIGHT  404         /* Shift block right    */
  174.  
  175. #define K_BLK_NIMARK 405         /* Non-inclusive block  */
  176. #define K_BLK_SMARK  406         /* Stream block marking */
  177. #define K_BLK_LMARK  407         /* Line block marking   */
  178. #define K_BLK_CMARK  408         /* Column block marking */
  179.  
  180. #define K_BLK_CLM    409         /* Columnar block off/on */
  181. #define K_BLK_HIDE   410         /* Hide block off/on    */
  182. #define K_BLK_WORD   411         /* Mark current word/line */
  183. #define K_BLK_SORT   412         /* Block Sort           */
  184. /* #define K_BLK_SP1    40x  */      /*# Spare                */
  185. #endif
  186.  
  187.  
  188.         /*$ Screen Movement commands */
  189. #define K_PAGE_DN    413        /* Page Down            */
  190. #define K_PAGE_UP    414        /* Page Up              */
  191. #define K_SCRL_DN    415        /* Scroll Down          */
  192. #define K_SCRL_UP    416        /* Scroll Up            */
  193. #define K_SCRLB_DN   417        /* Scroll bar Down      */
  194. #define K_SCRLB_UP   418        /* Scroll bar Up        */
  195. #define K_SCRL_LT    419        /* Scroll Left          */
  196. #define K_SCRL_RT    420        /* Scroll Right         */
  197. #define K_SCRL_TOP   421        /* Scroll to Top of window */
  198. #define K_SCRL_MID   422        /* Scroll to Middle of window */
  199. #define K_SCRL_BOT   423        /* Scroll to Bottom of window */
  200. #define K_NXT_FUNC   424        /* Next function/paragraph */
  201. #define K_PRV_FUNC   425        /* Previous function/paragraph */
  202. #define K_SCRN_SP1   426        /*# Spare                */
  203. #define K_SCRN_SP2   427        /*# Spare                */
  204. #define K_SCRN_SP3   428        /*# Spare                */
  205.  
  206.         /*$ Cursor Movement commands */
  207. #define K_CUR_UP     429        /* Cursor Up            */
  208. #define K_CUR_DN     430        /* Cursor Down          */
  209. #define K_CUR_LT     431        /* Cursor Left          */
  210. #define K_CUR_RT     432        /* Cursor Right         */
  211.  
  212. #define K_LINE_BEG   433        /* Start of Line        */
  213. #define K_LINE_END   434        /* End of Line          */
  214. #define K_FIRST_CHAR 435        /* First char on line   */
  215. #define K_LAST_CHAR  436        /* Last char on line    */
  216. #define K_CUR_TOP    437        /* Top of Window        */
  217. #define K_CUR_BOT    438        /* Bottom of Window     */
  218. #define K_WORD_BK    439        /* Word Backwards       */
  219. #define K_WORD_FW    440        /* Word Forwards        */
  220. #define K_WORD_START 441        /* Start of word        */
  221. #define K_WORD_END   442        /* End of word          */
  222. #define K_CUR_RSIDE  443        /* Right side of window  */
  223. #define K_CUR_LSIDE  444        /* Left side of window   */
  224. #define K_GOTO_CLM   445        /* Goto specified column */
  225.  
  226.  
  227.         /*$ Edit commands */
  228. #define K_INS_NL     446        /* Insert new line above */
  229. #define K_NEWLINE    447        /* Insert new line below */
  230. #define K_SPLIT      448        /* Split line at current pos */
  231. #define K_JOIN       449        /* Join next line to current */
  232. #define K_DES_BS     450        /* Delete previous char */
  233. #define K_DEL_CU     451        /* Delete current char  */
  234. #define K_DEL_LINE   452        /* Delete line          */
  235. #define K_DEL_SOL    453        /* Delete to start of line */
  236. #define K_DEL_EOL    454        /* Delete to end of line*/
  237. #define K_DEL_WORD   455        /* Delete word          */
  238. #define K_DEL_PWORD  456        /* Delete previous word */
  239. #define K_TAB        457        /* Tab  (indent block)  */
  240. #define K_BACK_TAB   458        /* Back Tab (undent block) */
  241. #define K_UNDENT     459        /* Undent               */
  242. #define K_INDENT     460        /* Indent               */
  243. #define K_SW_CASE    461        /* Change case of word  */
  244. #define K_TRANSPOSE  462        /* Transpose characters */
  245. #define K_VERBATIM   463        /* next char Verbatim   */
  246. #define K_INS_MODE   464        /* Insert mode on       */
  247. #define K_INS_TOGL   465        /* Toggle Insert/Overwrite */
  248. #define K_UNDO       466        /* Undo last change/cmd */
  249. #define K_UNDO_ALL   467        /*# Undo all commands    */
  250. #define K_REDO       468        /* Redo last Undo       */
  251. #define K_EDIT_SP1   469        /*# Spare               */
  252. #define K_EDIT_SP2   470        /*# Spare               */
  253.  
  254.  
  255.         /*$ Search commands */
  256. #define K_FIND       471        /* Find pattern          */
  257. #define K_SRCH_REP   472        /* Search and Replace    */
  258. #define K_SRCH_AGN   473        /* Search/Replace Again  */
  259. #define K_SRCH_DIR   474        /* Change search direction */
  260. #define K_SRCH_FORW  475        /* Search direction = forward */
  261. #define K_REGEX_TGL  476        /* Regular expression off/on */
  262. #define K_SRCH_CASE  477        /* Ignore character case */
  263. #define K_SRCH_ASK   478        /* Replace and Ask first */
  264. #define K_SRCH_WORD  479        /*# Default search to current word */
  265. #define K_SRCH_GLOBAL 480       /* Global Search/Replace */
  266. #define K_SRCH_ALL   481        /* Search for all occurences */
  267. #define K_SRCH_INCDUPS 482      /* Include duplicate lines */
  268. #define K_ISEARCH    483        /* Incremental Search    */
  269. #define K_SRCH_SP1   484        /*# Spare                */
  270. #define K_SRCH_SP2   485        /*# Spare                */
  271.  
  272.  
  273.         /*$ Miscellaneous commands */
  274. #define K_RPT_CMD    486        /* Repeat Next command  */
  275. #define K_TEMPLATE   487        /* Insert language template */
  276. #define K_LOCATE     488        /* Locate matching object */
  277.  
  278. #define K_ALGN_CMT   489        /* Align comment        */
  279.  
  280. #define K_REFORM     490        /* Reformat paragraph   */
  281. #define K_REFORM_CLM 491        /* Reformat paragraph to clm  */
  282.  
  283. #define K_CALENDAR   492        /* Calendar             */
  284. #define K_CALCULATOR 493        /* Calculator           */
  285. #define K_FUNC_LIST  494        /* Function/procedure list */
  286. #define K_MK_TAGS    495        /* Make function/procedure index */
  287.  
  288. #define K_DRAW       496        /* Line drawing         */
  289. #define K_RULER      497        /* Display/hide ruler   */
  290. #define K_CHARTS     498        /* Reference charts     */
  291. #define K_INSERT_INFO 499       /* Insert information menu */
  292. #define K_MISC_SP1   500        /*# spare               */
  293. #define K_MISC_SP2   501        /*# spare               */
  294.  
  295. #define K_FILE_DIFF   502       /* File Difference Analysis */
  296. #define K_DIFF_WHAT1  503       /* Source 1 On Disk/Buffer */
  297. #define K_DIFF_WHAT2  504       /* Source 2 On Disk/Buffer */
  298.  
  299.  
  300. #ifdef K_MOUSE_DEFS
  301.         /*$ Mouse actions */
  302. #define K_MS_LBTNDN  505        /* Left button down */
  303. #define K_MS_LBTNUP  506        /* Left button up   */
  304. #define K_MS_LBTNDC  507        /* Left button double click */
  305. #define K_MS_RBTNDN  508        /* Right button down */
  306. #define K_MS_RBTNUP  509        /* Right button up   */
  307. #define K_MS_RBTNDC  510        /* Right button double click */
  308. #define K_MS_MBTNDN  511        /* Middle button down */
  309. #define K_MS_MBTNUP  512        /* Middle button up   */
  310. #define K_MS_MBTNDC  513        /* Middle button double click */
  311. #endif
  312.  
  313.         /*$ Do nothing and User commands */
  314. #define K_NOTHING    514        /* Do nothing           */
  315.  
  316. #define K_USER1      515        /* User command 1       */
  317. #define K_USER2      516        /* User command 2       */
  318. #define K_USER3      517        /* User command 3       */
  319. #define K_USER4      518        /* User command 4       */
  320.  
  321.  
  322.         /*$ Bracket matching commands */
  323. #define K_GO_MATCH   519        /* Next/Opposite object */
  324.     /* rem: brace_match() relies on the following order */
  325. #define K_GO_OPAREN  520        /* Goto open paren (    */
  326. #define K_GO_CPAREN  521        /* Goto closing paren ) */
  327. #define K_GO_OBRACE  522        /* Goto open brace {    */
  328. #define K_GO_CBRACE  523        /* Goto closing brace } */
  329. #define K_GO_OBRACK  524        /* Goto open bracket [  */
  330. #define K_GO_CBRACK  525        /* Goto closing bracket ] */
  331.  
  332.  
  333.         /*$  Macro commands */
  334. #define K_MACRO_REC  526        /* Macro recording start/stop */
  335. #define K_MACRO_PLAY 527        /* Playback current macro     */
  336. #define K_MACRO_SAVE 528        /* Save named keystroke macro */
  337. #define K_MACRO_DEL  529        /* Delete a named macro       */
  338. #define K_MACRO_EXEC 530        /* Exec named keystroke macro */
  339. #define K_MACRO_GET  531        /* Get macro into playback buffer */
  340. #define K_MACRO_RPT  532        /* Repeat current macro       */
  341. #define K_MACRO_ASGN 533        /* Assign named macro to key  */
  342. #define K_MACRO_SP1  534        /*# spare                     */
  343.  
  344.  
  345.     /*$ ED C program commands */
  346. #define K_PGM_EXEC   535        /* Execute ED extension program */
  347. #define K_PGM_MENU   536        /* Menu of ED extension programs */
  348. #define K_PGM_SP1    537        /*#reserved for future use */
  349.  
  350.  
  351.     /*$ Operating System support */
  352. #define K_DOS_SHELL  538        /* DOS shell            */
  353. #define K_RUN_PROG   539        /* Run OS program       */
  354. #define K_NEW_DRVDIR 540        /* Change Drive/Directory */
  355. #define K_DIR_TREE   541        /* Directory tree         */
  356. #define K_O_SP1      542        /*# reserved for future use */
  357. #define K_O_SP2      543        /*# reserved for future use */
  358.  
  359.  
  360.     /*$ Language Support  */
  361. #define K_FEXT_CFG   544        /* File extension config    */
  362. #define K_FEXT_ADD   545        /* Add new file extension   */
  363. #define K_FEXT_SP1   546        /*# reserved for future use */
  364. #define K_AUTOI_TGL  547        /* Auto-indent off/on       */
  365. #define K_SMARTI_TGL 548        /* Smart indenting off/on   */
  366. #define K_SMARTI_OPTS 549       /* Smart indent options     */
  367. #define K_TEMPLT_TGL 550        /* Template editing off/on  */
  368. #define K_INDT_SZ    551        /* Indent size          */
  369. #define K_WORD_DLM   552        /* Set word delimiters  */
  370. #define K_WORDW_TGL  553        /* Word wrap off/on     */
  371. #define K_RMARG_SET  554        /* Set right margin     */
  372. #define K_LCHNG_TGL  555        /* Last change stamp off/on */
  373. #define K_LANGUAGE   556        /* Set Language/Text type */
  374. #define K_TAB_SZ     557        /* Set Tab size         */
  375. #define K_TAB_USE    558        /* Set Tab usage - spaces/tabs */
  376. #define K_CMT_CLM    559        /* Set Comment alignment column */
  377. #define K_L_SP1      560        /*# reserved for future use */
  378. #define K_L_SP2      561        /*# reserved for future use */
  379. #define K_L_SP3      562        /*# reserved for future use */
  380. #define K_L_SP4      563        /*# reserved for future use */
  381.  
  382. #endif  /* PRG_ONLY */
  383.  
  384.  
  385.     /*$ Program/Compiler Support  */
  386. #define K_PRG_MENU    564       /* Program menu             */
  387. #define K_PRG_MENUALL 565       /* Program menu - all ext's */
  388. #define K_PRG_TITLE   566       /* Program title            */
  389. #define K_PRG_CMDLN   567       /* Program command line     */
  390. #define K_PRG_ERR_TGL 568       /* Error tracking off/on    */
  391. #define K_PRG_ERRTYPE 569       /* Set error track type     */
  392. #define K_PRG_CONT_ED 570       /* Continue editing         */
  393. #define K_PRG_MINIMIZE 571      /* Minimize application window */
  394. #define K_PRG_SAVE    572       /* Save file options        */
  395. #define K_PRG_UNLOCK  573       /* Unlock and Reload file   */
  396. #define K_PRG_EXTLST  574       /* Extension specific pgm list */
  397. #define K_PRG_SP1     575       /*# reserved for future use */
  398.  
  399. #define K_NXT_ERR     576       /* Next compiler error  */
  400. #define K_PRV_ERR     577       /* Prev compiler error  */
  401.  
  402.  
  403. #ifndef PRG_ONLY
  404.  
  405. #ifdef K_CONFIG_DEFS
  406.  
  407.     /*$ Configuration Options */
  408. #define K_CONFIG      578       /* Configuration Dialog */
  409. #define K_AUTOSV_SET  579       /* Auto-save time       */
  410. #define K_BKP_TGL     580       /* Backup off/on        */
  411. #define K_INI_FNAME   581       /* Set Configuration filename */
  412. #define K_SAVE_STATE  582       /* Save state on exit   */
  413. #define K_RESTORE_DIR 583       /* Restore directory at start */
  414. #define K_FILE_LIST   584       /* File list control    */
  415. #define K_LAN_LOCKS   585       /* LAN File locking off/on */
  416. #define K_FILE_TYPE   586       /* File type in File/Open */
  417. #define K_SEL_FONT    587       /* Select Font          */
  418. #define K_SEL_FONT_SZ 588       /* Select Font size    */
  419. #define K_TOOLBAR_TGL 589       /* Toolbar off/on       */
  420. #define K_TOOLBAR_POS 590       /* Set toolbar position */
  421. #define K_SCR_OVLAP   591       /* Set screen overlap   */
  422. #define K_DIR_KEEP    592       /* Keep Directory in File/Open */
  423. #define K_CUR_PEOL    593       /* Allow cursor right past eol */
  424. #define K_INSIDE_TABS 594       /* Cursor allowed inside Tabs    */
  425. #define K_CUR_HUG_EOL 595       /* Cursor hugs vertically to eol */
  426. #define K_DISP_CTRL   596       /* Display control chars off/on */
  427. #define K_DISP_TABS   597       /*# Display Tab chars off/on */
  428. #define K_STRIP_WHITE 598       /*# Strip trailing whitespace */
  429. #define K_TIME_TGL    599       /* Time display off/on  */
  430. #define K_DATE_TGL    600       /* Date display off/on  */
  431. #define K_TMP_FILES   601       /* Save to Temporary file */
  432. #define K_UNDO_QSZ    602       /* Set Undo queue size  */
  433. #define K_UNDO_KEEP   603       /*# Undo through save Off/On */
  434. #define K_HISTORY_SZ  604       /* Set history list size */
  435. #define K_WIN_OPENMAX 605       /* Open windows maximized   */
  436. #define K_WIN_FILES   606       /* One file per window      */
  437. #define K_MEM_LEAVE   607       /* Memory to leave for programs */
  438. #define K_MENU_LVL    608       /* Set Short or Long menus */
  439. #define K_SOUND_TGL   609       /* Sound off/on             */
  440. #define K_SCRLBAR_TGL 610       /*# Scroll bars off/on      */
  441. #define K_CHNG_USER   611       /*# Change User             */
  442. #define K_MK_KEYBD    612       /*# Update keyboard and menus */
  443. #define K_CFG_MORE    613       /* Configuration more dialog */
  444. #define K_SDK_HLP_TGL 614       /* SDK context help off/on  */
  445. #define K_REPL_SELECT 615       /* Typing replaces selection */
  446. #define K_SYNTAX_HL   616       /* Color syntax highlighting off/on */
  447. #define K_SYNTAX_COLOR 617      /* Color syntax setup        */
  448. #define K_COLOR_FGDEF 618        /*# Default to Windows foreground - internal use only */
  449. #define K_COLOR_FGSET 619        /*# Set foreground color - internal use only */
  450. #define K_COLOR_BGDEF 620        /*# Default to Windows background - internal use only */
  451. #define K_COLOR_BGSET 621        /*# Set background color - internal use only */
  452. #define K_TEXT_EDIT_HL 622      /*# Edited text highlighting off/on */
  453. #define K_TEXT_INS_HL 623       /*# Inserted text highlighting off/on */
  454. #define K_FO_OPTIONS  624        /*# File Open options       */
  455. #define K_FO_SV_TAGS  625        /*# File Open options       */
  456. #define K_FO_SV_AFN   626        /*# File Open options       */
  457. #define K_CFG_SP1     627        /*# reserved for future use */
  458. #define K_CFG_SP2     628        /*# reserved for future use */
  459. #define K_CFG_SP3     629        /*# reserved for future use */
  460.  
  461. #endif  /* K_CONFIG_DEFS */
  462.  
  463.  
  464. #ifdef K_PRT_DEFS
  465.         /*$ Print commands */
  466. #define K_PRT_FILE    630       /* Print specified file */
  467. #define K_PRT_CUR_BUF 631       /* Print current buffer */
  468. #define K_PRT_BLOCK   632       /* Print marked block   */
  469.  
  470. #define K_PRT_MENU    633       /* Printer setup */
  471. #define K_PRT_H_TGL   634       /* Print heading on/off */
  472. #define K_PRT_LNUM_TGL 635      /* Print line nos. on/off      */
  473. #define K_PRT_EXP_TABS 636      /* Expand Tabs on/off          */
  474. #define K_PRT_EXP_CTRL 637      /* Expand Control chars on/off */
  475.  
  476. #endif  /* K_PRT_DEFS */
  477.  
  478. #endif  /* PRG_ONLY */
  479.  
  480.  
  481. #define K_CMD_LAST    640       /*# Last K_xx command    */
  482.  
  483.  
  484.     /*# the following are for internal use only  */
  485. #ifdef INC_SMARTI_OPTS
  486.     /* smart indent options - language specific */
  487. #define K_SMARTI_OPT1  651      /*# past end of normal K_xx #defs */
  488. #define K_SMARTI_OPT2  652  
  489. #define K_SMARTI_OPT3  653  
  490. #define K_SMARTI_OPT4  654  
  491. #define K_SMARTI_OPT5  655  
  492. #define K_SMARTI_OPT6  656  
  493. #define K_SMARTI_OPT7  657  
  494. #define K_SMARTI_OPT8  658  
  495. #endif
  496.  
  497.  
  498. /************************************************************************
  499. *                                    *
  500. ************************************************************************/
  501.